<!DOCTYPE html PUBLIC "-//W3C//Dtd XHTML 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<%@taglib uri="/jstl/cout" prefix="c"%>
<%@page import="com.infodms.dms.po.TtAsActivityEvaluatePO"%>
<jsp:include page="${contextPath}/common/jsp_head_new.jsp" />

<head>
<%
TtAsActivityEvaluatePO evaluatePO =(TtAsActivityEvaluatePO)request.getAttribute("evaluatePO");
%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>服务活动评估总结</title>
<% String contextPath = request.getContextPath(); %>
<script type="text/javascript" language="javascript">
function checkedLoad(){
	if(!submitForm('fm')) {
		return false;
	}else{
	    disableBtn($("commitBtn"));//点击按钮后，按钮变成灰色不可用;
		MyConfirm("是否确认上报？",updateLoad);
	}
}
//服务活动评估总结上报
function updateLoad(){
	    var  activityId=document.getElementById("activityId").value;
		fm.action = "<%=contextPath%>/claim/serviceActivity/ServiceActivityManageSummary/serviceActivitySummaryOption.do?activityId="+activityId;
		fm.submit();
	}
</script>
</head>

<body>
	<div class="navigation">
	     <img src="<%=contextPath %>/img/nav.gif" />&nbsp;当前位置： 售后服务管理&gt;服务活动管理&gt;服务活动评估
	</div>
 <form name="fm" id="fm" method="post">
  <input type="hidden" name="activityId" id="activityId" value="<%=request.getAttribute("activityId") %>"/>
  <input type="hidden" name="dealerId" id="dealerId" value="<%=request.getAttribute("dealerId") %>"/>
  <table class="table_edit">
	     <tr>
		      <th colspan="4" align="left">
		      		<img class="nav" src="<%=contextPath %>/img/subNav.gif" /> 基本信息
		      </th>
	     </tr>
          <tr>
            <td width="19%"   align="right">活动名称：</td>
            <td width="30%" align="left" ><c:out value="${evaluatePO.activityName}"></c:out> </td>
            <td width="15%" align="right">进厂台次： </td>
            <td width="36%" align="left">
                  <input type="hidden" name="inAmount" id="inAmount"  class="middle_txt"  value="${evaluatePO.inAmount}"/>
          		  <c:out value="${evaluatePO.inAmount}"></c:out>
            </td>
          </tr>
          <tr >
            <td align="right">三包内数量：</td>
            <td align="left">
                 <input type="text" name="inGuarantee" id="inGuarantee" class="middle_txt"  datatype="1,is_digit,10"/>
            </td> 
            <td align="right">三包外数量：</td>
            <td>
            	<input type="text" name="outGuarantee" id="outGuarantee" class="middle_txt"  datatype="1,is_digit,10"/>
            </td>
          </tr>
          <tr>
            <td  align="right">维修数量：</td>
            <td  align="left">
            	<input type="text" name="repairAmount" id="repairAmount" class="middle_txt"   datatype="1,is_digit,10"/>
            </td> 
            <td  align="right">保养数量：</td>
            <td  align="left">
            	<input type="text" name="maintainAmount" id="maintainAmount" class="middle_txt"  datatype="1,is_digit,10" />
            </td>
          </tr>
          <tr >
            <td  align="right">所在地区：</td>
            <td align="left" ><c:out value="${evaluatePO.orgName}"></c:out></td>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td  align="right">老带新信息留存数：</td>
            <td align="left" >
                <input type="text"  name="onAmount"  id="onAmount"   class="middle_txt"  datatype="1,is_digit,10" /></td>
            <td align="right">老带新成交数：</td>
            <td align="left">
                <input type="text"  name="onCamount" id="onCamount" class="middle_txt"  datatype="1,is_digit,10" /></td>
          </tr>
          <tr>
            <td  align="right">
           		 活动效果自我评价：</td>
            <td  colspan="3" align="left" >
	            <span class="tbwhite">
	                <textarea  name="evaluate"  id="evaluate"   rows="5" cols="80" datatype="0,is_null,200"></textarea>
	            </span>
            </td>
          </tr>
          <tr>
            <td  align="right">建议及改进措施：</td>
            <td  colspan="3" align="left" >
	            <span class="tbwhite">
	              <textarea  name="measures"  id="measures"   rows="5" cols="80" datatype="0,is_null,200"></textarea>
	            </span>
            </td>
          </tr>
		  <tr>
            <td  align="left">&nbsp;</td>
            <td  colspan="3" align="left" >&nbsp;</td>
          </tr>
        </table>
        <br />
        <table  class="table_query">
          <tr> 
            <td height="12" align=center>
			  <input type="button" class="normal_btn"  value="上报" onclick="checkedLoad();" id="commitBtn" />
			  &nbsp;&nbsp;
			  <input type="button" onClick="javascript:history.go(-1);"  class="normal_btn"  value="返回"/>
		    </td>
		  </tr>
        </table>
</form>
</body>
</html>